<!DOCTYPE html>
<html lang="en">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all"/>
</head>
<body>
<!-- 导航栏-->
<input id="jingbanren" type="hidden" th:value="${session.user.getRealname()}">
<span style="font-family: 新宋体;font-size: 1.3em;margin-left: 500px;" >药房药品详情</span>
<form class="layui-form" method="post" id="searchFrm">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">药品名称:</label>
            <div class="layui-input-inline">
                <input type="text" name="pharmacyName"  autocomplete="off" class="layui-input" >
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">&nbsp;&nbsp;&nbsp;&nbsp;</label>
            <div class="layui-input-inline">
                <button type="button" class="layui-btn layui-btn-normal  layui-icon layui-icon-search" id="doSearch">查询</button>
                <button type="reset" class="layui-btn layui-btn-warm  layui-icon layui-icon-refresh">重置</button>
            </div>
        </div>
    </div>
</form>

<div style="display: none;" id="userToolBar">
    <button type="button" class="layui-btn layui-btn-sm" lay-event="add">报缺</button>
</div>
<table class="layui-hide" id="userTable" lay-filter="userTable"></table>
<div  id="userBar" style="display: none;">
    <a class="layui-btn layui-btn-xs" lay-event="query">查看详情</a>
<!--    <a class="layui-btn layui-btn-xs" lay-event="edit">报缺</a>-->
    <a class="layui-btn layui-btn-xs" lay-event="del">库房回收</a>
</div>

<!--添加界面开始-->
<!-- 添加和修改的弹出层开始 -->
<div style="display: none;padding: 20px" id="addpharmacy" >
    <form class="layui-form"  lay-filter="dataFrm" id="dataFrm" style="margin-top: 20px">
        <div class="layui-form-item">


            <div class="layui-inline">
                <label class="layui-form-label">药品名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="pharmacyName" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <!--<div class="layui-inline">
                <label class="layui-form-label">库房名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="drugstoreId" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>-->

            <div class="layui-inline">
                <label class="layui-form-label">经办人:</label>
                <div class="layui-input-inline">
                    <input type="text" name="skullName" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">库房名称:</label>
                <div class="layui-input-inline">
                    <input type="text" name="warehouseName" lay-verify="required"  autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">计量单位:</label>
                <div class="layui-input-inline">
                    <input type="text" name="unitName" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">药品售价:</label>
                <div class="layui-input-inline">
                    <input type="text" name="sellingPrice" lay-verify="required"   placeholder="请输入药品的药品售价" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">药品产地:</label>
                <div class="layui-input-inline">
                    <input type="text" name="areaName" lay-verify="required"   placeholder="请输入药品的药品产地" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">药品类型:</label>
                <div class="layui-input-inline">
                    <input type="text" name="typeName" lay-verify="required"   placeholder="请输入药品的药品类型" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">生产日期:</label>
                <div class="layui-input-inline">
                    <input type="text" name="produceDate" lay-verify="required"   placeholder="请输入药品的生产日期" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">有效日期:</label>
                <div class="layui-input-inline">
                    <input type="text" name="validDate" lay-verify="required"   placeholder="请输入药品的有效日期" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">数量:</label>
                <div class="layui-input-inline">
                    <input type="text" name="drugstorenum" lay-verify="required"   placeholder="请输入药品的数量" autocomplete="off"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">批号:</label>
                <div class="layui-input-inline">
                    <input type="text" name="skullbatch" lay-verify="required"   placeholder="请输入药品的批号" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
        </div>

        <!--<div class="layui-form-item" style="text-align: center;">
            <div class="layui-input-block" style=" margin-left:0px">
                <button type="button" class="layui-btn layui-btn-normal layui-btn-sm layui-icon layui-icon-release"  lay-filter="doSubmit" lay-submit="">提交</button>

            </div>
        </div>-->
    </form>

</div>
<!-- 添加和修改的弹出层结束 -->
<!--添加界面结束-->
<script th:src="@{/layui/layui.js}"></script>
<script type="text/javascript" th:inline="none" th:src="@{/hospitalJs/pharmacymanager/c_pharmacy.js}"></script>
</body>
</html>